const VueLoaderPlugin = require('vue-loader/lib/plugin')

module.exports = {
    mode: "development",
    entry: './src/index.js',
    output: {
        path: __dirname + '/dist',
        publicPath: '/static/',
        filename: 'main.js'
    },
    module: {
        rules: [{
            test: /\.vue$/,
            use: ["vue-loader"]
        }]
    },
    plugins: [
        new VueLoaderPlugin()
    ]
}